<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <link rel="icon" href="tp.ico">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>主页</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <header>
        <div class="logo">Mikufans</div>
        <nav>
            <ul>
                <li><a href="/">主页</a></li>
                <li><a href="user.html">用户主页</a></li>
                <li><a href="login.html">登录</a></li>
                <li><a href="register.html">注册</a></li>
            </ul>
        </nav>
        <div class="search-bar">
            <input type="text" placeholder="搜索视频...">
            <button>搜索</button>
        </div>
    </header>

    <main>
        <section class="videos">
            <h2>推荐视频</h2>
            <div class="video-grid" id="video-grid"></div>
        </section>
    </main>

    <footer>
        <p>&copy; 2024 Mikufans. 不保留所有权利.</p>
    </footer>

    <!-- 视频播放模态框 -->
    <div id="video-modal" class="modal">
        <div class="modal-content">
            <span class="close-button">&times;</span>
            <video controls id="video-player">
                <source id="video-source" type="video/mp4">
                您的浏览器不支持HTML5视频播放。
            </video>
        </div>
    </div>

    <script src="scripts.js"></script>
</body>
</html>

